import pandas as pd


def load_excel_data(filepath):
    df = pd.read_excel(filepath)

    required_columns = ["单元ID", "今日最高出价", "今日初始出价"]
    if not all(col in df.columns for col in required_columns):
        raise ValueError(f"缺少必要列，请确保包含以下字段: {', '.join(required_columns)}")

    return df.to_dict(orient='records')